﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ThemTaiKhoan.ascx.cs" Inherits="iShopping.Admin.UserControl.ThemTaiKhoan" %>
<link href="../../css/cssThemTaiKhoan.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    .style1
    {
        width: 150px;
    }
    .style2
    {
        width: 260px;
    }
    .style3
    {
        width: 150px;
        height: 30px;
    }
    .style4
    {
        width: 260px;
        height: 30px;
    }
</style>
<div id="register">
<div id="titleregister" align="center" style="margin-bottom: 0px">
     THÊM NGƯỜI DÙNG
</div>
<!-- end title -->
<div id="thongtinuser">
<div id="thongtincanhan">
<strong class="lHeader">Thông tin cá nhân:</strong> <span class="" style="text-align: right;
                            margin-left: 300px;">(<span style="color: red;">*</span>) là
                     những thông tin bắt buộc</span>
<table style="margin: 2px 2px 2px 20px; border-style: solid; border-width: 1px; width: 90%; " >
       <tbody>
          <tr>
               <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lName absin">Họ và tên:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:TextBox ID="txtTen" runat="server" Width="236px"></asp:TextBox>                                       
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                            ErrorMessage="Tên trống" ControlToValidate="txtTen">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lBirthday absin">Ngày sinh:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                     
                                        <asp:DropDownList ID="dlNgay" runat="server" Height="25px" Width="75px">
                                            <asp:ListItem>Ngày</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                            <asp:ListItem>13</asp:ListItem>
                                            <asp:ListItem>14</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>16</asp:ListItem>
                                            <asp:ListItem>17</asp:ListItem>
                                            <asp:ListItem>18</asp:ListItem>
                                            <asp:ListItem>19</asp:ListItem>
                                            <asp:ListItem>20</asp:ListItem>
                                            <asp:ListItem>21</asp:ListItem>
                                            <asp:ListItem>22</asp:ListItem>
                                            <asp:ListItem>23</asp:ListItem>
                                            <asp:ListItem>24</asp:ListItem>
                                            <asp:ListItem>25</asp:ListItem>
                                            <asp:ListItem>26</asp:ListItem>
                                            <asp:ListItem>27</asp:ListItem>
                                            <asp:ListItem>28</asp:ListItem>
                                            <asp:ListItem>29</asp:ListItem>
                                            <asp:ListItem>30</asp:ListItem>
                                            <asp:ListItem>31</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="dlThang" runat="server" Height="24px" Width="80px">
                                            <asp:ListItem>Tháng</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="dlNam" runat="server" Height="24px" Width="80px">
                                            <asp:ListItem>Năm</asp:ListItem>
                                        </asp:DropDownList>
                                     
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; " class="style3">
                                        <span class="lInfoma lAreaPlace absin">Nơi sinh:</span> <span style="color: red">*</span>
                                    </td>
                                    <td class="style4">
                                      <asp:DropDownList ID="dlNoiSinh" runat="server" Width="236px"> 
                                      </asp:DropDownList>                               
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lAddress absin">Địa chỉ:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:TextBox ID="txtDiaChi" runat="server" 
                                            Width="236px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                            ControlToValidate="txtDiaChi" ErrorMessage="Chưa nhập địa chỉ">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lPhone absin">Số di động:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:TextBox ID="txtDidong" runat="server" Width="236px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                            ControlToValidate="txtDidong" ErrorMessage="Chưa nhập số điện thoại">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lCredit absin">Mã thẻ tín dụng:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:TextBox ID="txtMaThe" runat="server" Width="236px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                            ControlToValidate="txtMaThe" ErrorMessage="Chưa nhập Mã thẻ tín dụng">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lGender absin">Giới tính:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:DropDownList ID="dlGioiTinh" runat="server" Width="236px">
                                            <asp:ListItem>Giới Tính</asp:ListItem>
                                            <asp:ListItem>Nam</asp:ListItem>
                                            <asp:ListItem>Nữ</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:CompareValidator ID="CompareValidator2" runat="server" 
                                            ControlToValidate="dlGioiTinh" ErrorMessage="Chưa chọn giới tính" 
                                            ValueToCompare="Giới Tính" Operator="NotEqual">*</asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lEmail absin">Email:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:TextBox ID="txEmail" runat="server" Width="236px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                            ErrorMessage="Chưa nhập email" ControlToValidate="txEmail">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                   <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma Loai absin">Loại Tài Khoản:</span><span style="color: red">*</span></td>
                                    <td style="width: 260px;">                                       
                                         <asp:DropDownList ID="dlLoai" runat="server" Width="236px">                                          
                                         </asp:DropDownList>
                                         </td>
                                </tr>
                            </tbody>
                        </table> 
</div>
<!-- end thong tin ca nhan -->

  <div id="matkhau">
    <strong class="lHeader">Thông tin tài khoản:</strong>
        <table style="border-style: solid; border-width: 1px; margin: 2px 2px 2px 20px; width: 90%; ">
                            <tbody>
                                <tr>
                                    <td style="text-align: right; " class="style1">
                                        <span class="lInfoma lAcc absin">Tên tài khoản:</span><span style="color: red">*</span>
                                    </td>
                                    <td class="style2">
                                        <asp:TextBox ID="txtTenTaiKhoan" runat="server" Width="236px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                            ErrorMessage="Chưa nhập tài khoản" ControlToValidate="txtTenTaiKhoan">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lPass absin">Mật khẩu:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:TextBox ID="txtMatKhau" runat="server" Width="236px" TextMode="Password"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="Chưa nhập mật khẩu" 
                                            ControlToValidate="txtMatKhau">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma lAcc absin">Nhập lại mật khẩu:</span><span style="color: red">*</span>
                                    </td>
                                    <td style="width: 260px;">
                                        <asp:TextBox ID="txtMatKhauNhapLai" runat="server" Width="236px" 
                                            TextMode="Password"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtMatKhauNhapLai" 
                                            ErrorMessage="Chưa nhập lại mật hẩu">*</asp:RequiredFieldValidator>
                                        <asp:CompareValidator ID="CompareValidator3" runat="server" 
                                            ControlToCompare="txtMatKhau" ControlToValidate="txtMatKhauNhapLai" 
                                            ErrorMessage="Mật khẩu nhập lại không trùng">*</asp:CompareValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: right; width: 150px;">
                                        <span class="lInfoma Avatar absin">Avatar:&nbsp;</span>
                                    </td>
                                    <td style="width: 260px;">
                                         <asp:FileUpload ID="FileUpload1" runat="server" Width="235px" />                                       
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div> 
<!-- end mat khau -->
</div>
<!-- end thong tin -->

<div id="sukien" align="center">
    <asp:Button ID="btnThem" runat="server" Text="Thêm" onclick="btnThem_Click" 
        Width="100px" />
</div>
<!-- end su kien -->
</div>